a11y: Check whether a widget is mapped before querying its parent
authorMike Gorse <mgorse@suse.com>
Fri, 30 Aug 2013 14:13:39 +0000 (09:13 -0500)
committerMike Gorse <mgorse@suse.com>
Fri, 30 Aug 2013 14:42:41 +0000 (09:42 -0500)
commit7e3db6fdd36960fca0ae0e7e078b448b5f8b220a
tree03c2008729b4ceaa81c6edae8f40d46e78267e00
parentd7e07a8470b7f6d322a1f6e56c3953e35a393ada
a11y: Check whether a widget is mapped before querying its parent

Call gtk_widget_get_mapped() in a couple of places before looking at the
widget's parent, since it might be set to a widget that has been
finalized, causing an invalid read.
gtk/a11y/gtkwidgetaccessible.c